<!--{include(pe_tpl('header.html'));}-->
<div class="right">
	<div class="now">
		<a href="admin.php?mod=user" <!--{if($mod=='user'):}-->class="sel"<!--{endif;}-->>会员列表（{$tongji['user']}）</a>
		<a href="admin.php?mod=userbank" <!--{if($mod=='userbank'):}-->class="sel"<!--{endif;}-->>收款账户（{$tongji['userbank']}）</a>
		<a href="admin.php?mod=useraddr" <!--{if($mod=='useraddr'):}-->class="sel"<!--{endif;}-->>收货地址（{$tongji['userbank']}）</a>
		<div class="clear"></div>
	</div>
	<div class="right_main">
		<div class="search">
			<form method="get">
			<input type="hidden" name="mod" value="{$_g_mod}" />
			用户名：<input type="text" name="name" value="{$_g_name}" class="inputtext input150"/>
			收货人：<input type="text" name="tname" value="{$_g_tname}" class="inputtext input150" />
			手机号码：<input type="text" name="phone" value="{$_g_phone}" class="inputtext input150" />
			<input type="submit" value="搜索" class="input_btn" />
			</form>
		</div>
		<form method="post" id="form">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
		<tr>
			<th class="bgtt" width="20"><input type="checkbox" name="checkall" onclick="pe_checkall(this, 'address_id')" /></th>
			<th class="bgtt" width="50">ID号</th>
			<th class="bgtt" width="150">用户名</th>
			<th class="bgtt" width="100">收货人</th>
			<th class="bgtt" width="120">手机号码</th>
			<th class="bgtt">收货地址</th>
			<th class="bgtt" width="130">添加日期</th>
			<th class="bgtt" width="110">操作</th>
		</tr>
		<!--{foreach($info_list as $v):}-->
		<tr>
			<td><input type="checkbox" name="address_id[]" value="{$v['address_id']}"></td>
			<td class="num">{$v['address_id']}</td>
			<td>{$v['user_name']}</td>
			<td>{$v['user_tname']}</td>
			<td class="num">{$v['user_phone']}</td>
			<td class="aleft">{$v['address_province']} {$v['address_city']} {$v['address_area']} {$v['address_text']}</td>
			<td class="num"><span <!--{if(pe_date($v['address_atime'], 'Y-m-d') == date('Y-m-d')):}-->class="cred"<!--{endif;}-->>{pe_date($v['address_atime'])}</span></td>
			<td>
				<a href="admin.php?mod=useraddr&act=edit&id={$v['address_id']}" onclick="return pe_dialog(this, '修改收货地址', 650, 400);" class="admin_edit mar3">修改</a>
				<a href="admin.php?mod=useraddr&act=del&id={$v['address_id']}&token={$pe_token}" class="admin_del" onclick="return pe_cfone(this, '删除')">删除</a>
			</td>
		</tr>
		<!--{endforeach;}-->
		</table>
		</form>
	</div>
	<div class="right_bottom">
		<span class="fl mal10">
			<input type="checkbox" name="checkall" onclick="pe_checkall(this, 'address_id')" />
			<button href="admin.php?mod=useraddr&act=del&token={$pe_token}" onclick="return pe_cfall(this, 'address_id', 'form', '批量删除')">批量删除</button>
		</span>
		<span class="fr fenye">{$db->page->html}</span>
		<div class="clear"></div>
	</div>
</div>
<!--{include(pe_tpl('footer.html'));}-->